JtlWooCommerceConnector\Controllers\Order\CustomerOrderItem A

Total Complexity 66
Dependencies 11
Dependents 1
Total lines 385
Lines of code 249
Logical lines of code 150
Comment lines 60
Methods 11
Properties 2

Methods 11

Method Rating Maintainability Complexity Lines of code
accurateItemTaxCalculation()
B
37 19 68
pullProductOrderItems()
B
39 15 64
pullDiscountOrderItems()
S
49 6 30
calculateVat()
S
58 7 13
getSingleVatRate()
S
56 5 18
groupProductsByTaxRate()
S
59 5 14
pullData()
S
62 3 11
getShippingOrderItem()
S
66 2 8
getSurchargeOrderItem()
S
66 2 8
pullShippingOrderItems()
S
67 1 9
pullFreePositions()
S
71 1 6